# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname=numix-icon-theme
pkgver=20.06.07
pkgrel=0
pkgdesc="Official icon theme from the Numix project"
url="https://numixproject.github.io/"
arch="noarch"
license="GPL-3.0-only"
subpackages="$pkgname-light"
source="$pkgname-$pkgver.tar.gz::https://github.com/numixproject/numix-icon-theme/archive/$pkgver/numix-icon-theme-$pkgver.tar.gz"
options="!check" # No code so no tests

package() {
	mkdir -p "$pkgdir"/usr/share/icons
	mv "$builddir"/Numix "$pkgdir"/usr/share/icons/
}

light() {
	pkgdesc="$pkgdesc (Light version)"

	mkdir -p "$subpkgdir"/usr/share/icons
	mv "$builddir"/Numix-Light "$subpkgdir"/usr/share/icons/
}

sha512sums="8ab26fe047d1ab7002a9cd1b21406c5565153dfd9fea7267945f8f9eeaac299b6b7601340c22d933c9e28c522cff300596aac6d589b0080d44746441d5494f6d  numix-icon-theme-20.06.07.tar.gz"
